home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-07-26 | 529 b | 20 lines | [TEXT/ToyS] |
- tell application "K1 Librarian"
- -- activate
- set ch to 14 -- set MIDI channel (1 - 16)
- set kind to 0 -- set single/multi
- -- 0 for single
- -- 1 for multi
- set ie to 1 -- set I,i,E,e
- -- 0 for I
- -- 1 for i
- -- 2 for E
- -- 3 for e
- if (ie = 0) then set temp to 0
- if (ie = 1) then set temp to 32
- if (ie = 2) then set temp to 4096
- if (ie = 3) then set temp to 32 + 4096
- if (kind = 1) then set temp to temp + 2
- if (kind = 0 and (ie = 1 or ie = 3)) then set temp to temp + 1
- All Dump Request {(ch - 1) * 256 + temp}
- end tell
-